package com.cn.zy.zheda.demo.service;

import com.cn.zy.zheda.demo.controller.request.Alarm;
import com.cn.zy.zheda.demo.controller.request.UserReq;

/**
 * @author zhangyi
 * @date 2018/12/19 13:08
 */
public interface UrlService {

    /**
     * 用户登录获取token
     *
     * @param user
     * @return
     */
    String login(UserReq user);

    /**
     * 获取报警数据
     *
     * @param alarm
     * @return
     */
    String alarm(Alarm alarm,String token);
}
